-
Notifications
You must be signed in to change notification settings - Fork 2.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove executable bit #180
Conversation
The files in the pull request do not show any changes, so far as I can tell. |
GitHub finds 14 files with mode changes. Are you on Windows, where the permission system is different from what git expects? |
Yes, I am on Windows. |
@stleary Windows has a different permission system (executable bit is not even a thing there) so you may not find anything different. It surely is different on Unix. |
Are the permissions breaking anything? |
@stleary Not yet. But it is inconsistent and annoying. |
@stleary this is what it currently looks like on OS X or linux On Unix, this makes the source code executable to the OS. In general this is frowned upon as a security risk |
@johnjaylward thanks, I think it would be reasonable to have the code be as correct as possible, including the permissions. Are you recommending just making sure the executable bit is cleared for all files? |
yeah, that's what the little note that Github is showing you this pull request does:
644 is:
|
here's a brief overview of the numeric notation github is showing: https://en.wikipedia.org/wiki/File_system_permissions#Numeric_notation |
@netheril96 OK, seems reasonable, thanks for the suggestion. It would be helpful if you could update the "version" field in the JavaDoc for each file, replacing the date you find there with the current date, using this format: yyyy-mm-dd. The commit comment should be something simple, such as, "Remove executable permission bit from file mode", or whatever you think is appropriate. Thanks, Sean |
@stleary Done |
Thanks, files have the correct mode bits set now, unit tests pass, will include this in the next release. |
The source files should not have executable permission set.